//封装存储
export const key = 'ZHENG-TOKEN'//值 名

export const setItem = (key,value) =>{
  localStorage.setItem(key,JSON.stringify(value))
}
export const getItem = (key)=>{
 return JSON.parse(localStorage.getItem(key))
}
export const removeItem =(key) => {
  localStorage.removeItem(key)
}